# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-handy
pkgver=0_git20200317
pkgrel=0
_commit="5ff55817eafbb1930e222ea2493c22804c872904"
pkgdesc="Atari Lynx emulator Handy"
url="https://github.com/libretro/libretro-handy"
arch="all"
license="Zlib"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/libretro-handy/archive/$_commit.tar.gz"
builddir="$srcdir/libretro-handy-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 handy_libretro.so "$pkgdir"/usr/lib/libretro/handy_libretro.so
}

sha512sums="e6105d6a7d5e19f57c47f95cd552069b5abab1e4b52f0e0c62c82580b3dae6fd72a3be042fab9a0b43a694cbb4de03aeaab7786e0b78b10756e879889d1fe398  libretro-handy-5ff55817eafbb1930e222ea2493c22804c872904.tar.gz"
